package cn.le.dao;

import cn.le.po.ProductPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ProductDAO {

    void insert(ProductPO po);

    ProductPO getById(Long id);

    ProductPO getByName(String name);

    List<ProductPO> find();


}
